#include <iostream>

int main()
{
    using namespace std;

    int quizescores[10] = {20, 20, 20, 20, 20, 19, 20, 18, 20, 20};

    cout << "Doing it right:" << endl;
    int i;
    for (i = 0; quizescores[i] == 20; i++)
        cout << "quiz " << i << " is a 20" << endl;
    
    cout << "Doing it dangerously worng" << endl;
    for (i = 0; quizescores[i] = 0; i++)
        cout << "quiz " << i << " is a 20" << endl;
    
    return 0;
}